import layout from '@/views/Layout/index.vue';
export default {
  path: '/user', // 路由地址
  name: 'user',
  component: layout,
  meta: {
    title: '用户管理',
    icon: 'UsergroupAddOutlined',
    rank: 201,
    isTop: true,
  },
  children: [
    {
      path: '/user/student',
      component: () => import('@/views/Users/student.vue'),
      meta: {
        title: '学生列表',
        icon: 'TeamOutlined',
        rank: 202,
      },
    },
    {
      path: '/user/admin',
      component: () => import('@/views/Users/admin.vue'),
      meta: {
        title: '管理员列表',
        icon: 'TeamOutlined',
        rank: 203,
      },
    },
  ],
};
